/**
 * 
 */
package edu.sjtu.seda.test;

import edu.sjtu.seda.event.Event;
import edu.sjtu.seda.event.EventHandler;

/**
 * @author john.zhu
 *
 */
public class PrintMessage implements EventHandler {

	/* (non-Javadoc)
	 * @see edu.sjtu.seda.event.EventHandler#handle(edu.sjtu.seda.event.Event)
	 */
	@Override
	public void handle(Event event) {
		if(event instanceof Message){
			Message msg = (Message) event;
//			System.out.println(msg.getMessage());
		}
	}
	
	
	
	

}
